package com.arpa.wms.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.arpa.ntocc.common.common.util.excel.StringConverter;
import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 期初导入 DTO
 * @author jinss
 * @date 2020-09-26 10:08:01
 **/
@Data
@ApiModel(value="InitializationExcelDTO对象", description="期初导入DTO")
public class CollectExcelDTO extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓库编码")
    @ExcelProperty(converter = StringConverter.class)
    private String warehouseSerialNumber;

    @ApiModelProperty(value = "仓库名称")
    @ExcelProperty(converter = StringConverter.class)
    private String warehouseName;

    @ApiModelProperty(value = "货主编码")
    @ExcelProperty(converter = StringConverter.class)
    private String shipmentSerialNumber;

    @ApiModelProperty(value = "货主名称")
    @ExcelProperty(converter = StringConverter.class)
    private String shipmentName;

    @ApiModelProperty(value = "领用部门")
    @ExcelProperty(converter = StringConverter.class)
    private String collectDept;

    @ApiModelProperty(value = "领用类型名称")
    @ExcelProperty(converter = StringConverter.class)
    private String typeName;

    @ApiModelProperty(value = "商品编码")
    @ExcelProperty(converter = StringConverter.class)
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    @ExcelProperty(converter = StringConverter.class)
    private String goodsName;

    @ApiModelProperty(value = "单位名称")
    @ExcelProperty(converter = StringConverter.class)
    private String goodsUnitName;

    @ApiModelProperty(value = "数量")
    @ExcelProperty(converter = StringConverter.class)
    private String collectQuantity;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(converter = StringConverter.class)
    private String remarks;

    @ApiModelProperty(value = "仓库code")
    @ExcelIgnore
    private String warehouseCode;

    @ApiModelProperty(value = "货主code")
    @ExcelIgnore
    private String shipmentCode;

    @ApiModelProperty(value = "领用类型")
    @ExcelIgnore
    private String type;

    @ApiModelProperty(value = "商品code")
    @ExcelIgnore
    private String goodsCode;

    @ApiModelProperty(value = "单位code")
    @ExcelIgnore
    private String goodsUnit;

    @ApiModelProperty(value = "单位数量")
    @ExcelIgnore
    private BigDecimal unitQuantity;

    @ApiModelProperty(value = "基本单位code")
    @ExcelIgnore
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    @ExcelIgnore
    private String basicUnitName;

    @ApiModelProperty(value = "基本单位转换数量")
    @ExcelIgnore
    private BigDecimal basicQuantity;

    @ApiModelProperty(value = "商品条码")
    @ExcelIgnore
    private String goodsBarCode;

}
